<!DOCTYPE html>
<html>
<head>
	<title>疑似帖子</title>
	<meta name="viewport" content="width=device-width,user-scalable=no"/>
	<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
	<meta name="keywords" content=""/>
	<meta name="description" content=""/>
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/check/css/appshare.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/check/css/video-js.css">


		<link href="<?php echo $this->config->item('public_url');?>/check/css/photoswipe.css" rel="stylesheet">
		<link href="<?php echo $this->config->item('public_url');?>/check/css/default-skin.css" rel="stylesheet">
		<script src="<?php echo $this->config->item('public_url');?>/check/js/photoswipe.js"></script>
		<script src="<?php echo $this->config->item('public_url');?>/check/js/photoswipe-ui-default.js"></script>



</head>
<body>
<?php 
 if (!empty($feeds_detail)){
?>
	<div class="appshare">
		<div class="appshare_p">
			<div class="appshare_icon">
			<?php if ($feeds_detail['avatar'] == ''){
			    $feeds_detail['avatar'] = 'https://app-public-cdn.ninebot.cn/Npoint_store/share/images/9.jpg';
			 }
			?>
				<img src="<?php echo $feeds_detail['avatar']?>" alt=""></div>
			<div class="appshare_name"><?php echo $feeds_detail['username']?></div>
			<div class="appshare_time"><?php echo date("Y-m-d",$feeds_detail['create_date']);?></div>
			<!--  <div class="app_gz addapp_gz"><a href="http://app.ninebot.cn/test/index2.html">关注</a></div>-->
		</div>
		<div class="appshare_con">
			<p>
				<?php echo $feeds_detail['content']?>
			</p>
			<!-- <div class=""> -->

				<div id="demo-test-gallery" class="demo-gallery appcc">
				   <!--  <a href="https://farm4.staticflickr.com/3894/15008518202_c265dfa55f_h.jpg" data-size="1600x1600" data-med="https://farm4.staticflickr.com/3894/15008518202_b016d7d289_b.jpg" data-med-size="1024x1024">
				        <img src="https://farm4.staticflickr.com/3894/15008518202_b016d7d289_m.jpg" alt="" />
				    </a> -->

				  
				<!-- </div> -->




			<?php if ($feeds_detail['feeds_type'] == '2' && $feeds_detail['pic_data'] != ""){
				
			    if (!empty($feeds_detail['pic_data'])){
			         foreach ($feeds_detail['pic_data'] as $pic):

			?>




				<a href="<?php echo $pic['img_url'];?>" data-size="<?php echo $pic['width'].'x'.$pic['height'];?>"  data-med="<?php echo $pic['img_url'];?>" data-med-size="<?php echo $pic['width'].'x'.$pic['height'];?>" >
				    <img src="<?php echo $pic['img_url'];?>?imageView2/1/w/94" />
				</a>

				<?php endforeach;}
			         }
				    if ($feeds_detail['feeds_type'] == '3' && $feeds_detail['video_url'] != ""){
				?>
				<video id="my-video" class="video-js video vjs-big-play-centered " controls preload="auto"   style=" width: 100%; height: 100%; min-height: 250px;"  poster="<?php if (!empty($feeds_detail['pic_data'])){ echo $feeds_detail['pic_data'][0]['img_url'];}else{ echo $this->config->item('public_url').'/share/images/9.jpg';}?>" data-setup="{}">
					<source src="<?php echo $feeds_detail['video_url'];?>" type="video/mp4">
					<source src="<?php echo $feeds_detail['video_url'];?>" type="video/webm"> 
					<source src="<?php echo $feeds_detail['video_url'];?>" type="video/ogg">
				  </video>
				  <?php }?>
			</div>
			<div class="app_zan">
				<img src="<?php echo $this->config->item('public_url');?>/share/images/zan.jpg" alt=""><?php echo $feeds_detail['praise_num']?></div>

                <?php 
                if ($type == 1){?>
				<div class="on_out on_out2">
				<?php 
				        if ($feeds_detail['operation_type'] == '0'){
				 ?>
					<span class="pass depass" data-dp="1">通过</span>
					<?php 
					if ($feeds_detail['deleted'] == '1'){
					?>
			        <span class="del " data-dp="2">已删除</span>
			        <?php }else{?>
			        <span class="del delete" data-dp="2">删除</span>
				</div>
				<?php }?>
					
					<?php }else {
					   if ($feeds_detail['deleted'] == '1'){
					?>
					 <span class="del " data-dp="2">已删除</span>
					 <?php }else{?>
					<span class="pass " data-dp="1">已通过</span>
					<?php }?>
				<?php }}?>
		</div>
		<div class="appshare_pinglun">
		 <?php if (!empty($feeds_detail['comment_lst'])){?>
			<div class="appshare_pinglun_title">评论(<?php echo $feeds_detail['comment_num']?>)</div>
			<ul>
			<?php 
			    if (isset($feeds_detail['comment_lst']['avatar']) && $feeds_detail['comment_lst']['avatar'] != ""){
		    ?>
				<li>
					<div class="appshare_pinglun_icon">
						<img src="<?php echo $feeds_detail['comment_lst']['avatar'];?>" alt=""></div>
					<div class="appshare_pinglun_r">
						<div class="appshare_pinglun_name">
							<?php echo $feeds_detail['comment_lst']['username'];?>
							<span><?php echo date('Y-m-d',$feeds_detail['comment_lst']['create_date']);?></span>
						</div>
						  <div class="appshare_pinglun_c">
                                <?php echo $feeds_detail['comment_lst']['content'];?>
						</div>
					</div>
				</li>
		<?php }?>
			</ul>
			<?php if ($type == 2){?>
		<div class="on_out on_out1">
		<?php if (isset($feeds_detail['comment_lst']['label'])){
		  if ($feeds_detail['comment_lst']['operation_type'] == '0'){
		?>
			<span class="pass depass" data-dp="1">通过</span>
			<?php if ($feeds_detail['comment_lst']['del_status'] == '1'){
			?>
			<span class="del " data-dp="2">已删除</span>
			<?php }else {?>
			<span class="del delete" data-dp="2">删除</span>
			<?php }?>
			<?php }else{?>
			<?php if ($feeds_detail['comment_lst']['del_status'] == '1'){?>
			<span class="del " data-dp="2">已删除</span>
			<?php }else{?>
			    <span  class="pass " data-dp="1">已通过</span>
			<?php }}}?>
			
		</div>
		<?php }}?>
	</div>
<?php }?>
	<div class="mask"></div>
	<div class="box"></div>
	<script type="text/javascript">
	var type = "<?php echo $type?>";
	var id = "<?php echo $id?>";
	var message_id = "<?php echo $message_id?>";
	</script>
	<script src="<?php echo $this->config->item('public_url');?>/check/js/jquery-3.2.1.min.js"></script>
	<script src="<?php echo $this->config->item('public_url');?>/check/js/video.min.js"></script>	
	<script src="<?php echo $this->config->item('public_url');?>/check/js/videojs-ie8.min.js"></script>	
	<script src="<?php echo $this->config->item('public_url');?>/check/js/sharenew.js"></script>	
	<script src="<?php echo $this->config->item('public_url');?>/check/js/sharejs.js"></script>

</body>
</html>